package com.cooba.utils;

import java.util.regex.Matcher;
import java.util.regex.Pattern;

/**
 * Created by Administrator on 2015/12/11.
 * 手机号判断
 */
public class Utils {
    //后期升级判断手机号
    public static boolean isnumber(String s) {
        Pattern p = Pattern.compile("1\\d{10}");
        Matcher m = p.matcher(s);
        boolean b = m.matches();
        return b;
    }
}
